<template>
  <view>
      <view class="thumb">
        <img src="../../static/success.jpg" alt="" >
      </view>
      <view class="btn">
        <u-button type="primary" @click="goto">下一步</u-button>
      </view>
  </view>
</template>

<script>
export default {
  onLoad(option)
  {
    this.type = option.type ? option.type : ""

  },
  data()
  {
    return {
      type:""
    }
  },
  methods: {
    goto(){
      uni.$u.route({
        url:"pagesB/merchant/order",
        params:{
          type:this.type,
          tabsIndex:2

        }
      })
    },
   
  }
}
</script>

<style lang="scss">
.btn{
  margin: 50px auto;
  width: 75%;
}
.thumb{
  text-align: center;
  width: 100%;
  img{
    height: 610px;
  }

}

</style>
